package archer.framework.common.repository.condition;


import archer.framework.core.constant.Constant;

/**
 * 查询项
 *
 * @author christ
 * @date 2016/4/20
 */
public class QueryItem {

    private String field;

    private String op = Constant.FilterRule.EQ;

    private Object value;

    public String getField() {
        return field;
    }

    public QueryItem setField(String field) {
        this.field = field;
        return this;
    }

    public String getOp() {
        return op;
    }

    public QueryItem setOp(String op) {
        this.op = op;
        return this;
    }

    public Object getValue() {
        return value;
    }

    public QueryItem setValue(Object value) {
        this.value = value;
        return this;
    }
}
